package com.zyong.design.pattern.visitor.case2;

/**
 * @program: zyong-design-pattern
 * @ClassName: Women
 * @author: zyong
 * @create: 2024-03-29 00:16
 */
public class Women implements Person {
    private String name;

    public Women(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    @Override
    public void accept(SingerPerformance singerPerformance) {
        singerPerformance.performanceEvaluation(this);
    }
}
